package com.lhs.entity.search;



import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;

@Data
@Document(collection = "search_records")
public class SearchRecord {
    @Id
    private Long id;
    private Long userId;
    private String keyword;
    private String ip;
    private LocalDateTime time;
}
